/**
 *******************************************************************************
 * 
 * <br>(c) Copyright 2012 重庆迅合科技有限公司 
 *
 * <br>文 件  名：DataDictionaryMngImpl.java
 * <br>系统名称：cms
 * <br><br>模块名称：(请更改成该模块名称)
 * <br>创 建  人：彭粟
 * <br>创建日期：Sep 9, 2013 9:42:56 PM
 * <br>修 改 人：(修改了该文件，请填上修改人的名字)
 * <br>修改日期：(请填上修改该文件时的日期)
 * <br>版     本： V1.0.0
 *******************************************************************************  
 */
package com.mvc.cms.manager.assist.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mvc.cms.dao.assist.DataDictionaryDao;
import com.mvc.cms.entity.assist.DataDictionary;
import com.mvc.cms.manager.assist.DataDictionaryMng;
import com.mvc.common.page.Pagination;

/** DataDictionaryMngImpl概要说明：
 * <br>@author 彭粟
 */
@Service
@Transactional
public class DataDictionaryMngImpl implements DataDictionaryMng {
	private DataDictionaryDao dao;
	@Autowired
	public void setDataDictionaryDao(DataDictionaryDao dao) {
		this.dao = dao;
	}

	public DataDictionary delte(Integer id) {
		return dao.delte(id);
	}

	public DataDictionary getInfoById(Integer id) {
		return dao.getInfoById(id);
	}

	public DataDictionary save(DataDictionary bean) {
		return dao.save(bean);
	}

	public Pagination getPage(Integer type, Integer status, int page,int pageSize) {
		return dao.getPage(type, status, page,pageSize);
	}

	public List<DataDictionary> list(int type) {
		
		return dao.list(type);
	}

}
